<?php
	$profile=get_object_vars(unserialize($_SESSION['userProfile']));
	$tipoU = $profile['data']['tipo_usuario'];
	if($tipoU == 'Maestro'){
?>
                    <form action="ConsultarReservaciones.php" method="post">
					<table border="0" align="center" width="200" cellpadding="1" cellspacing="1">
						<tr>
							<td class="formLabel" width="25%"><div align="left">Consultar Reservaciones:</div></td>
                        </tr>
                        <tr>
                        	<td>&nbsp; </td>
                        </tr>                  
                        <tr>
							<td class="formLabel"><input type="radio" name="tipoReservacionConsulta" value="Efectiva" checked="checked"> 
							Efectivas </td>
                         </tr>
                         <tr>
                        	<td class="formLabel"> <input type="radio" name="tipoReservacionConsulta" value="CanceladaCargo"> 
                        	Canceladas Con Cargo </td>
                         </tr>
                        	<td class="formLabel"> <input type="radio" name="tipoReservacionConsulta" value="CanceladaSinCargo">
                        	Canceladas Sin Cargo </td>
                        </tr>
                         </tr>
                        	<td class="formLabel"> <input type="radio" name="tipoReservacionConsulta" value="Negadas">
                        	Negadas </td>
                        </tr>
                        <tr>
                        	<td>&nbsp; </td>
                        </tr>                        
                        <tr>
                        	<td align="center"> <input type="submit" value="Consultar" /> </td>
                        </tr>
                    </table>
                    </form>

<?php
	}else if($tipoU == 'Adicional'){
?>

	<form action="ConsultarReservaciones.php" id="formCons" method="post"> 
		<input type="hidden" name="tipoReservacionConsulta" value="Efectiva"> 
	</form>
	<script language="javascript">
		document.getElementById('formCons').submit();
	</script>
<?php
	}
?>